package com.cy.deepseeksport.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName schedule_result
 */
@TableName(value ="schedule_result")
@Data
public class ScheduleResult {
    /**
     * 
     */
    @TableId
    private Integer matchId;

    /**
     * 
     */
    private String colorValue;

    /**
     * 
     */
    private String leagueNameSimplified;

    /**
     * 
     */
    private String leagueNameTraditional;

    /**
     * 
     */
    private String leagueNameEnglish;

    /**
     * 
     */
    private Integer leagueId;

    /**
     * 
     */
    private Integer isSimplifiedVersion;

    /**
     * 
     */
    private Date matchTime;

    /**
     * 
     */
    private String leagueSubType;

    /**
     * 
     */
    private Integer matchStatus;

    /**
     * 
     */
    private String homeTeamNameSimplified;

    /**
     * 
     */
    private String homeTeamNameTraditional;

    /**
     * 
     */
    private String homeTeamNameEnglish;

    /**
     * 
     */
    private Integer homeTeamId;

    /**
     * 
     */
    private String awayTeamNameSimplified;

    /**
     * 
     */
    private String awayTeamNameTraditional;

    /**
     * 
     */
    private String awayTeamNameEnglish;

    /**
     * 
     */
    private Integer awayTeamId;

    /**
     * 
     */
    private Integer homeTeamScore;

    /**
     * 
     */
    private Integer awayTeamScore;

    /**
     * 
     */
    private Integer homeTeamHalfScore;

    /**
     * 
     */
    private Integer awayTeamHalfScore;

    /**
     * 
     */
    private Integer homeTeamRedCards;

    /**
     * 
     */
    private Integer awayTeamRedCards;

    /**
     * 
     */
    private String homeTeamRank;

    /**
     * 
     */
    private String awayTeamRank;

    /**
     * 
     */
    private String matchExplanation;

    /**
     * 
     */
    private String roundOrGroupName;

    /**
     * 
     */
    private String matchLocation;

    /**
     * 
     */
    private String weatherIcon;

    /**
     * 
     */
    private String weather;

    /**
     * 
     */
    private String temperature;

    /**
     * 
     */
    private String season;

    /**
     * 
     */
    private String groupStage;

    /**
     * 
     */
    private Integer isNeutralVenue;

    /**
     * 
     */
    private Integer subLeagueId;

    /**
     * 
     */
    private String yellowCards;

    /**
     * 
     */
    private String matchExplanation2;

    /**
     * 
     */
    private Integer isHidden;

    /**
     * 
     */
    private Integer cupStageId;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        ScheduleResult other = (ScheduleResult) that;
        return (this.getMatchId() == null ? other.getMatchId() == null : this.getMatchId().equals(other.getMatchId()))
            && (this.getColorValue() == null ? other.getColorValue() == null : this.getColorValue().equals(other.getColorValue()))
            && (this.getLeagueNameSimplified() == null ? other.getLeagueNameSimplified() == null : this.getLeagueNameSimplified().equals(other.getLeagueNameSimplified()))
            && (this.getLeagueNameTraditional() == null ? other.getLeagueNameTraditional() == null : this.getLeagueNameTraditional().equals(other.getLeagueNameTraditional()))
            && (this.getLeagueNameEnglish() == null ? other.getLeagueNameEnglish() == null : this.getLeagueNameEnglish().equals(other.getLeagueNameEnglish()))
            && (this.getLeagueId() == null ? other.getLeagueId() == null : this.getLeagueId().equals(other.getLeagueId()))
            && (this.getIsSimplifiedVersion() == null ? other.getIsSimplifiedVersion() == null : this.getIsSimplifiedVersion().equals(other.getIsSimplifiedVersion()))
            && (this.getMatchTime() == null ? other.getMatchTime() == null : this.getMatchTime().equals(other.getMatchTime()))
            && (this.getLeagueSubType() == null ? other.getLeagueSubType() == null : this.getLeagueSubType().equals(other.getLeagueSubType()))
            && (this.getMatchStatus() == null ? other.getMatchStatus() == null : this.getMatchStatus().equals(other.getMatchStatus()))
            && (this.getHomeTeamNameSimplified() == null ? other.getHomeTeamNameSimplified() == null : this.getHomeTeamNameSimplified().equals(other.getHomeTeamNameSimplified()))
            && (this.getHomeTeamNameTraditional() == null ? other.getHomeTeamNameTraditional() == null : this.getHomeTeamNameTraditional().equals(other.getHomeTeamNameTraditional()))
            && (this.getHomeTeamNameEnglish() == null ? other.getHomeTeamNameEnglish() == null : this.getHomeTeamNameEnglish().equals(other.getHomeTeamNameEnglish()))
            && (this.getHomeTeamId() == null ? other.getHomeTeamId() == null : this.getHomeTeamId().equals(other.getHomeTeamId()))
            && (this.getAwayTeamNameSimplified() == null ? other.getAwayTeamNameSimplified() == null : this.getAwayTeamNameSimplified().equals(other.getAwayTeamNameSimplified()))
            && (this.getAwayTeamNameTraditional() == null ? other.getAwayTeamNameTraditional() == null : this.getAwayTeamNameTraditional().equals(other.getAwayTeamNameTraditional()))
            && (this.getAwayTeamNameEnglish() == null ? other.getAwayTeamNameEnglish() == null : this.getAwayTeamNameEnglish().equals(other.getAwayTeamNameEnglish()))
            && (this.getAwayTeamId() == null ? other.getAwayTeamId() == null : this.getAwayTeamId().equals(other.getAwayTeamId()))
            && (this.getHomeTeamScore() == null ? other.getHomeTeamScore() == null : this.getHomeTeamScore().equals(other.getHomeTeamScore()))
            && (this.getAwayTeamScore() == null ? other.getAwayTeamScore() == null : this.getAwayTeamScore().equals(other.getAwayTeamScore()))
            && (this.getHomeTeamHalfScore() == null ? other.getHomeTeamHalfScore() == null : this.getHomeTeamHalfScore().equals(other.getHomeTeamHalfScore()))
            && (this.getAwayTeamHalfScore() == null ? other.getAwayTeamHalfScore() == null : this.getAwayTeamHalfScore().equals(other.getAwayTeamHalfScore()))
            && (this.getHomeTeamRedCards() == null ? other.getHomeTeamRedCards() == null : this.getHomeTeamRedCards().equals(other.getHomeTeamRedCards()))
            && (this.getAwayTeamRedCards() == null ? other.getAwayTeamRedCards() == null : this.getAwayTeamRedCards().equals(other.getAwayTeamRedCards()))
            && (this.getHomeTeamRank() == null ? other.getHomeTeamRank() == null : this.getHomeTeamRank().equals(other.getHomeTeamRank()))
            && (this.getAwayTeamRank() == null ? other.getAwayTeamRank() == null : this.getAwayTeamRank().equals(other.getAwayTeamRank()))
            && (this.getMatchExplanation() == null ? other.getMatchExplanation() == null : this.getMatchExplanation().equals(other.getMatchExplanation()))
            && (this.getRoundOrGroupName() == null ? other.getRoundOrGroupName() == null : this.getRoundOrGroupName().equals(other.getRoundOrGroupName()))
            && (this.getMatchLocation() == null ? other.getMatchLocation() == null : this.getMatchLocation().equals(other.getMatchLocation()))
            && (this.getWeatherIcon() == null ? other.getWeatherIcon() == null : this.getWeatherIcon().equals(other.getWeatherIcon()))
            && (this.getWeather() == null ? other.getWeather() == null : this.getWeather().equals(other.getWeather()))
            && (this.getTemperature() == null ? other.getTemperature() == null : this.getTemperature().equals(other.getTemperature()))
            && (this.getSeason() == null ? other.getSeason() == null : this.getSeason().equals(other.getSeason()))
            && (this.getGroupStage() == null ? other.getGroupStage() == null : this.getGroupStage().equals(other.getGroupStage()))
            && (this.getIsNeutralVenue() == null ? other.getIsNeutralVenue() == null : this.getIsNeutralVenue().equals(other.getIsNeutralVenue()))
            && (this.getSubLeagueId() == null ? other.getSubLeagueId() == null : this.getSubLeagueId().equals(other.getSubLeagueId()))
            && (this.getYellowCards() == null ? other.getYellowCards() == null : this.getYellowCards().equals(other.getYellowCards()))
            && (this.getMatchExplanation2() == null ? other.getMatchExplanation2() == null : this.getMatchExplanation2().equals(other.getMatchExplanation2()))
            && (this.getIsHidden() == null ? other.getIsHidden() == null : this.getIsHidden().equals(other.getIsHidden()))
            && (this.getCupStageId() == null ? other.getCupStageId() == null : this.getCupStageId().equals(other.getCupStageId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getMatchId() == null) ? 0 : getMatchId().hashCode());
        result = prime * result + ((getColorValue() == null) ? 0 : getColorValue().hashCode());
        result = prime * result + ((getLeagueNameSimplified() == null) ? 0 : getLeagueNameSimplified().hashCode());
        result = prime * result + ((getLeagueNameTraditional() == null) ? 0 : getLeagueNameTraditional().hashCode());
        result = prime * result + ((getLeagueNameEnglish() == null) ? 0 : getLeagueNameEnglish().hashCode());
        result = prime * result + ((getLeagueId() == null) ? 0 : getLeagueId().hashCode());
        result = prime * result + ((getIsSimplifiedVersion() == null) ? 0 : getIsSimplifiedVersion().hashCode());
        result = prime * result + ((getMatchTime() == null) ? 0 : getMatchTime().hashCode());
        result = prime * result + ((getLeagueSubType() == null) ? 0 : getLeagueSubType().hashCode());
        result = prime * result + ((getMatchStatus() == null) ? 0 : getMatchStatus().hashCode());
        result = prime * result + ((getHomeTeamNameSimplified() == null) ? 0 : getHomeTeamNameSimplified().hashCode());
        result = prime * result + ((getHomeTeamNameTraditional() == null) ? 0 : getHomeTeamNameTraditional().hashCode());
        result = prime * result + ((getHomeTeamNameEnglish() == null) ? 0 : getHomeTeamNameEnglish().hashCode());
        result = prime * result + ((getHomeTeamId() == null) ? 0 : getHomeTeamId().hashCode());
        result = prime * result + ((getAwayTeamNameSimplified() == null) ? 0 : getAwayTeamNameSimplified().hashCode());
        result = prime * result + ((getAwayTeamNameTraditional() == null) ? 0 : getAwayTeamNameTraditional().hashCode());
        result = prime * result + ((getAwayTeamNameEnglish() == null) ? 0 : getAwayTeamNameEnglish().hashCode());
        result = prime * result + ((getAwayTeamId() == null) ? 0 : getAwayTeamId().hashCode());
        result = prime * result + ((getHomeTeamScore() == null) ? 0 : getHomeTeamScore().hashCode());
        result = prime * result + ((getAwayTeamScore() == null) ? 0 : getAwayTeamScore().hashCode());
        result = prime * result + ((getHomeTeamHalfScore() == null) ? 0 : getHomeTeamHalfScore().hashCode());
        result = prime * result + ((getAwayTeamHalfScore() == null) ? 0 : getAwayTeamHalfScore().hashCode());
        result = prime * result + ((getHomeTeamRedCards() == null) ? 0 : getHomeTeamRedCards().hashCode());
        result = prime * result + ((getAwayTeamRedCards() == null) ? 0 : getAwayTeamRedCards().hashCode());
        result = prime * result + ((getHomeTeamRank() == null) ? 0 : getHomeTeamRank().hashCode());
        result = prime * result + ((getAwayTeamRank() == null) ? 0 : getAwayTeamRank().hashCode());
        result = prime * result + ((getMatchExplanation() == null) ? 0 : getMatchExplanation().hashCode());
        result = prime * result + ((getRoundOrGroupName() == null) ? 0 : getRoundOrGroupName().hashCode());
        result = prime * result + ((getMatchLocation() == null) ? 0 : getMatchLocation().hashCode());
        result = prime * result + ((getWeatherIcon() == null) ? 0 : getWeatherIcon().hashCode());
        result = prime * result + ((getWeather() == null) ? 0 : getWeather().hashCode());
        result = prime * result + ((getTemperature() == null) ? 0 : getTemperature().hashCode());
        result = prime * result + ((getSeason() == null) ? 0 : getSeason().hashCode());
        result = prime * result + ((getGroupStage() == null) ? 0 : getGroupStage().hashCode());
        result = prime * result + ((getIsNeutralVenue() == null) ? 0 : getIsNeutralVenue().hashCode());
        result = prime * result + ((getSubLeagueId() == null) ? 0 : getSubLeagueId().hashCode());
        result = prime * result + ((getYellowCards() == null) ? 0 : getYellowCards().hashCode());
        result = prime * result + ((getMatchExplanation2() == null) ? 0 : getMatchExplanation2().hashCode());
        result = prime * result + ((getIsHidden() == null) ? 0 : getIsHidden().hashCode());
        result = prime * result + ((getCupStageId() == null) ? 0 : getCupStageId().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", matchId=").append(matchId);
        sb.append(", colorValue=").append(colorValue);
        sb.append(", leagueNameSimplified=").append(leagueNameSimplified);
        sb.append(", leagueNameTraditional=").append(leagueNameTraditional);
        sb.append(", leagueNameEnglish=").append(leagueNameEnglish);
        sb.append(", leagueId=").append(leagueId);
        sb.append(", isSimplifiedVersion=").append(isSimplifiedVersion);
        sb.append(", matchTime=").append(matchTime);
        sb.append(", leagueSubType=").append(leagueSubType);
        sb.append(", matchStatus=").append(matchStatus);
        sb.append(", homeTeamNameSimplified=").append(homeTeamNameSimplified);
        sb.append(", homeTeamNameTraditional=").append(homeTeamNameTraditional);
        sb.append(", homeTeamNameEnglish=").append(homeTeamNameEnglish);
        sb.append(", homeTeamId=").append(homeTeamId);
        sb.append(", awayTeamNameSimplified=").append(awayTeamNameSimplified);
        sb.append(", awayTeamNameTraditional=").append(awayTeamNameTraditional);
        sb.append(", awayTeamNameEnglish=").append(awayTeamNameEnglish);
        sb.append(", awayTeamId=").append(awayTeamId);
        sb.append(", homeTeamScore=").append(homeTeamScore);
        sb.append(", awayTeamScore=").append(awayTeamScore);
        sb.append(", homeTeamHalfScore=").append(homeTeamHalfScore);
        sb.append(", awayTeamHalfScore=").append(awayTeamHalfScore);
        sb.append(", homeTeamRedCards=").append(homeTeamRedCards);
        sb.append(", awayTeamRedCards=").append(awayTeamRedCards);
        sb.append(", homeTeamRank=").append(homeTeamRank);
        sb.append(", awayTeamRank=").append(awayTeamRank);
        sb.append(", matchExplanation=").append(matchExplanation);
        sb.append(", roundOrGroupName=").append(roundOrGroupName);
        sb.append(", matchLocation=").append(matchLocation);
        sb.append(", weatherIcon=").append(weatherIcon);
        sb.append(", weather=").append(weather);
        sb.append(", temperature=").append(temperature);
        sb.append(", season=").append(season);
        sb.append(", groupStage=").append(groupStage);
        sb.append(", isNeutralVenue=").append(isNeutralVenue);
        sb.append(", subLeagueId=").append(subLeagueId);
        sb.append(", yellowCards=").append(yellowCards);
        sb.append(", matchExplanation2=").append(matchExplanation2);
        sb.append(", isHidden=").append(isHidden);
        sb.append(", cupStageId=").append(cupStageId);
        sb.append("]");
        return sb.toString();
    }
}